//
//  NSDate+CLUtility.h
//  CLBrowser
//
//  Created by 梁慧聪 on 2017/4/6.
//  Copyright © 2021年 梁慧聪. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface DateModel : NSObject

@property (nonatomic, copy, readonly) NSString *dateString;
@property (nonatomic, copy, readonly) NSString *hourMinute;

@end

@interface NSDate (CLUtility)

+ (DateModel *)currentDateModel;
+ (NSString *)currentDate;
+ (NSString *)yesterdayDate;
/// 计算显示时间
+ (NSString *)timerString:(NSInteger)time;
/// 获取指定时间字符串 (dateFormat: "YYYY-MM-dd-HH-mm-ss")
+ (NSString *)timerStringFormat:(NSString *)dateFormat;
@end
